/*------------------------------------------------------------------------
//                          Project CommonLib                           //
------------------------------------------------------------------------*/
#pragma once


//////////////////////////////////////////////////////////////////////////
//	API
//////////////////////////////////////////////////////////////////////////
static int GetIntByini( TCHAR* tagName, TCHAR* idxName, const wchar_t* strIniPath, int defultVal=0);
static bool GetStringByini( TCHAR* tagName, TCHAR* idxName, const wchar_t* strIniPath, std::wstring& getString OUT);
	
class CmIni
{
public:
    CmIni(TCHAR* fileName);
    ~CmIni();

    int GetInt( TCHAR* tagName, TCHAR* idxName);
	bool GetString( TCHAR* tagName, TCHAR* idxName, std::wstring& getString OUT);

private:
    std::wstring m_fileName;
};
